package com.changpay.zywy.api

import com.changpay.zywy.adapter.ExamineAllocaDetailBean
import com.changpay.zywy.bean.*
import io.reactivex.Observable
import okhttp3.MultipartBody
import retrofit2.http.*


/**
 * Created by Mango
 */
interface ApiService {


    /**
     * 登录
     * http://www.wanandroid.com/user/login
     * @param username
     * @param password
     */
    @POST("index.php/mobile/login/index")
    @FormUrlEncoded
    fun loginAndroid(
        @Field("username") username: String,
        @Field("password") password: String, @Field("client") client: String = "android"
    ): Observable<HttpResult<LoginData>>


    /**
     * 获取验证码
     */
    @POST("index.php/mobile/connect/get_sms_captcha")
    @FormUrlEncoded
    fun GetCode(@Field("phone") phone: String, @Field("type") client: String): Observable<HttpResult<Any>>

    /**
     * 忘记密码
     */
    @POST("index.php/mobile/connect/find_password")
    @FormUrlEncoded
    fun revisePassword(
        @Field("phone") phone: String, @Field("captcha") captcha: String, @Field("password") password: String, @Field(
            "re_password"
        ) re_password: String, @Field("client") client: String = "android"
    ): Observable<HttpResult<Any>>


    /**
     * 注册接口
     */
    @POST("index.php/mobile/connect/sms_register")
    @FormUrlEncoded
    fun register(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     * 获取轮播图
     * http://www.wanandroid.com/banner/json
     */
    @GET("index.php/mobile/index/index")
    fun getBanners(): Observable<HttpResult<Banner>>


    /**
     * 获取今日收益首页接口
     *
     */
    @POST("index.php/mobile/recharge/today_info")
    @FormUrlEncoded
    fun getTodayEarnings(@Field("key") token: String, @Field("version") version: String = "2.0"): Observable<HttpResult<TodayEarnings>>


    /**
     * 获取个人信息
     *
     */
    @POST("index.php/mobile/member/get_member_info")
    @FormUrlEncoded
    fun getUserInfo(@Field("key") token: String): Observable<HttpResult<UserInfo>>


    /**
     * 获取首页未读数量
     *
     */
    @POST("index.php/mobile/index/get_unread_info")
    @FormUrlEncoded
    fun get_unread_info(@Field("key") token: String): Observable<HttpResult<UnReadInfoBean>>


    /**
     * 获取二维码信息
     *
     */
    @POST("index.php/mobile/memberinviter/index")
    @FormUrlEncoded
    fun getQrInfo(@Field("key") token: String): Observable<HttpResult<QrInfoBean>>


    /**
     * 获取资讯
     *
     */
    @GET("index.php/mobile/index/get_inforbg_list")
    fun getZhiXun(): Observable<HttpResult<ZhiXunBg>>

    /**
     * 获取总收益，个人收益，团队收益
     *
     */
    @POST("index.php/mobile/recharge/my_earnings")
    @FormUrlEncoded
    fun getEarning(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<EarningTotalDefaultBean>>


    /**
     * 我的账户余额信息
     *
     */
    @POST("index.php/mobile/recharge/my_wallet_info")
    @FormUrlEncoded
    fun getWalletInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<WalletInfoBean>>

    /**
     * 获取总收益，个人收益，团队收益
     *
     */
    @POST("index.php/mobile/recharge/my_earnings")
    @FormUrlEncoded
    fun getEarningGroup(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<EarningGroupBean>>


    /**
     * 获取排行榜
     *
     */
    @POST("index.php/mobile/recharge/earnings_ranking")
    @FormUrlEncoded
    fun getRank(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<RankBean>>


    /**
     * 统计总量
     *
     */
    @POST("index.php/mobile/Statistics/my_stats")
    @FormUrlEncoded
    fun getStats(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<CountBean>>


    /**
     * 统计总量
     *
     */
    @POST("index.php/mobile/Statistics/my_trend")
    @FormUrlEncoded
    fun getTrend(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<TrendBean>>

    /**
     * 修改密码
     *
     */
    @POST("index.php/mobile/member/update_loginpwd")
    @FormUrlEncoded
    fun changeLoginPw(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     * 意见反馈
     *
     */
    @POST("index.php/mobile/memberfeedback/feedback_add")
    @FormUrlEncoded
    fun feedback_add(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  获取手机验证码
    String getMobileCode = serverHead + "mobile/connect/get_sms_captcha";
     *
     */
    @POST("index.php/mobile/connect/get_sms_captcha")
    @FormUrlEncoded
    fun get_sms_captcha(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  校验手机验证码 "mobile/connect/get_sms_captcha";
     *
     */
    @POST("index.php/mobile/connect/check_sms_captcha")
    @FormUrlEncoded
    fun check_sms_captcha(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  修改支付密码 "mobile/member/update_paypwd";
     *
     */
    @POST("index.php/mobile/member/update_paypwd")
    @FormUrlEncoded
    fun update_paypwd(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  修改支付密码 "mobile/member/update_paypwd";
     *
     */
    @POST("index.php/mobile/area/area_list")
    @FormUrlEncoded
    fun get_area_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<LocationBean>>
    /**
     *  修改支付密码 "mobile/member/update_paypwd";
     *
     */
    @POST("index.php/mobile/Merchantservice/area_list")
    @FormUrlEncoded
    fun  area_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<LocationBean>>


    //单张图片上传
    @Multipart
    @POST("index.php/mobile/member/img_upload")
    fun updateImage(@QueryMap map: MutableMap<String, String>,@Part file: MultipartBody.Part): Observable<HttpResult<Any>>


    //单张图片上传

    @POST("index.php/mobile/member/edit_member_info")
    @FormUrlEncoded
    fun edit_member_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  修改支付密码 "mobile/member/update_paypwd";
     *
     */
    @POST("index.php/mobile/member_bank/index")
    @FormUrlEncoded
    fun get_member_bank(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<BankCardBean>>>

    /**
     *  验证支付密码
     *
     */
    @POST("index.php/mobile/memberbuy/check_pd_pwd2")
    @FormUrlEncoded
    fun check_pd_pwd(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  删除银行卡
     *
     */
    @POST("index.php/mobile/member_bank/del_bank_card")
    @FormUrlEncoded
    fun del_bank_card(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  添加银行卡
     *
     */
    @POST("index.php/mobile/member_bank/bank_card_add")
    @FormUrlEncoded
    fun bank_card_add(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>



    /**
     *  添加银行卡
     *
     */
    @POST("index.php/mobile/member/member_approve")
    @FormUrlEncoded
    fun member_approve(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>



    /**
     *  提现消息
     *
     */
    @POST("index.php/mobile/member/pd_cash_list")
    @FormUrlEncoded
    fun getTixianMessage(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<TiXianMessageBean>>>


    /**
     *  奖励消息列表
     *
     */
    @POST("index.php/mobile/member/reward_log")
    @FormUrlEncoded
    fun getAwardMessage(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<JiangLiMessageBean>>>


    /**
     *  系统消息列表
     *
     */
    @POST("index.php/mobile/member/system_log")
    @FormUrlEncoded
    fun getSystemMessage(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<SystemMessageBean>>>


    /**
     *  系统消息列表
     *
     */
    @POST("index.php/mobile/member/pd_cash_info")
    @FormUrlEncoded
    fun pd_cash_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<TiXianDetail>>

    /**
     *  收益上面数值
     *
     */
    @POST("index.php/mobile/recharge/earnings_detail")
    @FormUrlEncoded
    fun earnings_detail(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<EaringDetailBean>>




    /**
     *  收益明细-列表
     *
     */
    @POST("index.php/mobile/recharge/earnings_detail_list")
    @FormUrlEncoded
    fun earnings_detail_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<EarningDetailInfo>>>


    /**
     *   获取今日总交易/激活
     *
     */
    @POST("index.php/mobile/recharge/get_today_info")
    @FormUrlEncoded
    fun get_today_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<TodayInfoBean>>


    /**
     *   获取今日总交易/激活列表
     *
     */
    @POST("index.php/mobile/recharge/get_today_list")
    @FormUrlEncoded
    fun get_today_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<TodayListBean>>


    /**
     *   获取修改的对象
     *
     */
    @POST("index.php/mobile/Mystock/get_mbRate_list")
    @FormUrlEncoded
    fun get_rateMb_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<LowerBean>>>

    /**
    *   获取设置费率的对象
    *
    */
    @POST("index.php/mobile/Mystock/get_policy_mb_list")
    @FormUrlEncoded
    fun get_policy_mb_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<LowerBean>>>



    /**
     *  查询产品
     *
     */
    @POST("index.php/mobile/Mystock/myMachine")
    @FormUrlEncoded
    fun getMachine(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ProduceBean>>


    /**
     *  查询产品
     *
     */
    @POST("index.php/mobile/Mystock/get_actSn_list")
    @FormUrlEncoded
    fun get_actSn_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<ShopSnBean>>>


    /**
     *  查询代理费率（自己/别人的）
     *
     */
    @POST("index.php/mobile/Mystock/showMyAllocationRateInfo")
    @FormUrlEncoded
    fun showRateInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<RateInfo>>

    /**
     *  设置下级代理费率
     *
     */
    @POST("index.php/mobile/mystock/set_mb_rate")
    @FormUrlEncoded
    fun set_mb_rate(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  修改代理费率（我的/他人的）
     *
     */
    @POST("index.php/mobile/mystock/adjustMyRates")
    @FormUrlEncoded
    fun adjustMyRates(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     * 修改代理激活奖励（我的/他人的）
     *
     */
    @POST("index.php/mobile/Mystock/modifyActivateRewards")
    @FormUrlEncoded
    fun modifyActivateRewards(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *   申请自备机入网
     *
     */
    @POST("index.php/mobile/Mystock/applicationForSelf")
    @FormUrlEncoded
    fun applicationForSelf(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *   获取可以回拨的人
     *
     */
    @POST("index.php/mobile/Mystock/get_backTransfer_mb_list")
    @FormUrlEncoded
    fun get_backTransfer_mb_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<LowerBean>>>


    /**
     *   获取可以回拨的人
     *
     */
    @POST("index.php/mobile/Mystock/get_transfer_mb_list")
    @FormUrlEncoded
    fun get_transfer_mb_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<LowerBean>>>


    /**
     *   我的库存列表
     *
     */
    @POST("index.php/mobile/Mystock/myMachineToolsList")
    @FormUrlEncoded
    fun myMachineToolsList(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MyMachineToolsList>>

    /**
     *   我的调拨列表
     *
     */
    @POST("index.php/mobile/Mystock/showProductSNCode")
    @FormUrlEncoded
    fun showProductSNCode(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<AllowSnBean>>


    /**
     *   我的库存列表
     *
     */
    @POST("index.php/mobile/Mystock/myMachine")
    @FormUrlEncoded
    fun myMachine(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MyMachineBean>>

    /**
     *   发起调拨
     *
     */
    @POST("index.php/mobile/Mystock/initiateATransferNew")
    @FormUrlEncoded
    fun initiateATransferNew(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *   发起调拨
     *
     */
    @POST("index.php/mobile/Mystock/initiateATransferBack")
    @FormUrlEncoded
    fun initiateATransferBack(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *   获取调拨申请列表
     *
     */
    @POST("index.php/mobile/Mystock/get_sn_transfer_list")
    @FormUrlEncoded
    fun get_sn_transfer_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<AllocLogBean>>>

    /**
     *  查询商户费率/sn号搜索
     *
     */
    @POST("index.php/mobile/Mystock/adjustmentRate")
    @FormUrlEncoded
    fun adjustmentRate(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ShopAdRateBean>>

    /**
     *  查询代理费率（自己/别人的）
     *
     */
    @POST("index.php/mobile/Mystock/updateSubmitAdjustmentRate")
    @FormUrlEncoded
    fun updateSubmitAdjustmentRate(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  查询代理费率（自己/别人的）
     *
     */
    @POST("index.php/mobile/Mystock/listOfMyBusiness")
    @FormUrlEncoded
    fun listOfMyBusiness(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MyShopBean>>


    /**
     *  查询代理费率（自己/别人的）
     *
     */
    @POST("index.php/mobile/member/my_partners_list")
    @FormUrlEncoded
    fun my_partners_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MyPartent>>


    /**
     *
     *
     */
    @POST("index.php/mobile/Mystock/myProductRateInfo")
    @FormUrlEncoded
    fun myProductRateInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ProductRateInfo>>

    /**
     *
     *
     */
    @POST("index.php/mobile/Mystock/myMachineToolsList")
    @FormUrlEncoded
    fun NoActionMachineToolsList(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<NoActPartnerMachineBean>>

    /**
     *
     *
     */
    @POST("index.php/mobile/Mystock/myMachineToolsList")
    @FormUrlEncoded
    fun ActionMachineToolsList(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ActPartnerMachineBean>>


    /**
     * 获取商户费率
     *
     */
    @POST("index.php/mobile/Mystock/myProductRateInfo")
    @FormUrlEncoded
    fun getShopProfit(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ShopProfitBean>>

    /**
     * 获取审核列表
     *
     */
    @POST("index.php/mobile/Mystock/examineAllocationInfo")
    @FormUrlEncoded
    fun getAllocationInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ApplyDetailBean>>

    /**
     * 获取自备机
     *
     */
    @POST("index.php/mobile/Mystock/examineAllocationInfo")
    @FormUrlEncoded
    fun getSelfMachineInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<SelfMachineDetailBean>>

    /**
     * 获取入网审核
     *
     */
    @POST("index.php/mobile/Mystock/examineAllocationInfo")
    @FormUrlEncoded
    fun getCardChangeInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<CardChangeDetailBean>>


    /**
     * 获取入网审核
     *
     */
    @POST("index.php/mobile/Mystock/examineAllocationDetail")
    @FormUrlEncoded
    fun examineAllocationDetail(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ExamineAllocaDetailBean>>
    /**
     *  上级同意
     *
     */
    @POST("index.php/mobile/Mystock/parentExamine")
    @FormUrlEncoded
    fun parentExamine(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  调拨列表
     *
     */
    @POST("index.php/mobile/Mystock/allocationLogList")
    @FormUrlEncoded
    fun allocationLogList(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<MyAllocaLogBean>>>


    /**
     *  调拨详细
     *
     */
    @POST("index.php/mobile/Mystock/allocationLogInfo")
    @FormUrlEncoded
    fun allocationLogInfo(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<AllocaInfoBean>>

    /**
     *  确认收款
     *
     */
    @POST("index.php/mobile/Mystock/allocationConfirm")
    @FormUrlEncoded
    fun allocationConfirm(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  调拨详细
     *
     */
    @POST("index.php/mobile/Mystock/get_sn_transfer_detail")
    @FormUrlEncoded
    fun get_sn_transfer_detail(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<AllocServiceInfoBean>>


    /**
     *  确认收款
     *
     */
    @POST("index.php/mobile/Mystock/edit_sn_transfer")
    @FormUrlEncoded
    fun edit_sn_transfer(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  mobile/Statistics/balance_change
     *
     */
    @POST("index.php/mobile/Statistics/balance_change")
    @FormUrlEncoded
    fun balance_change(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  获取提现手续费
     *
     */
    @POST("index.php/mobile/index/get_pd_cash_setting_info")
    @FormUrlEncoded
    fun get_pd_cash_setting_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  获取提现手续费
     *
     */
    @POST("index.php/mobile/recharge/pd_cash_add")
    @FormUrlEncoded
    fun pd_cash_add(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  商城首页轮播图
     *
     */
    @GET("index.php/mobile/index/goodsIndex")
    fun goodsIndex(): Observable<HttpResult<List<ShopBanner>>>

    /**
     *  商品列表
     *
     */
    @POST("index.php/mobile/Index/goodsList")
    @FormUrlEncoded
    fun goodsList(  @Field("key") key: String): Observable<HttpResult<List<ShopGoodsBean>>>


    /**
     *  系统公告列表
     *
     */
    @GET("index.php/mobile/index/get_system_msg_list")
    fun get_system_msg_list(): Observable<HttpResult<List<GongGaoBean>>>

    /**
     *  系统公告列表
     *
     */
    @GET("index.php/mobile/index/get_site_domain")
    fun getBaseUrl(): Observable<HttpResult<Any>>




    /**
     *  微信支付
     *
     */
    @POST("index.php/mobile/Memberpayment/pay_new")
    @FormUrlEncoded
    fun pay_new(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<WechatpayBean>>



    /**
     *  支付宝支付
     *
     */
    @POST("index.php/mobile/Memberpayment/pay_new")
    @FormUrlEncoded
    fun ali_pay(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<AlipayBean>>

    /**
     *  统计总激活率
     *
     */
    @POST("index.php/mobile/Statistics/get_total_activation")
    @FormUrlEncoded
    fun get_total_activation(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<TotalActivationBean>>

    /**
    *  统计月激活率
    *
    */
    @POST("index.php/mobile/Statistics/get_month_activation")
    @FormUrlEncoded
    fun get_month_activation(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MonthActiontionBean>>

    /**
     *  统计新增商户
     *
     */
    @POST("index.php/mobile/Statistics/get_merchant_add")
    @FormUrlEncoded
    fun get_merchant_add(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<AddCountBean>>


    /**
     *  统计新增渠道
     *
     */
    @POST("index.php/mobile/Statistics/get_channel_add")
    @FormUrlEncoded
    fun get_channel_add(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<AddCountBean>>

    /**
     *  统计月交易量
     *
     */
    @POST("index.php/mobile/Statistics/get_total_trading_month")
    @FormUrlEncoded
    fun get_total_trading_month(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<TrandMonthBean>>


    /**
     *  统计月交易量
     *
     */
    @POST("index.php/mobile/index/get_app_version_info")
    @FormUrlEncoded
    fun get_app_version_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<VersionBean>>


    /**
     *  商户列表接口
     *
     */
    @POST("index.php/mobile/Statistics/get_merchant")
    @FormUrlEncoded
    fun get_merchant(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<selectshopbean>>


    /**
     *  获取支行信息
     *
     */
    @POST("index.php/mobile/Merchantservice/get_bank_subbranch")
    @FormUrlEncoded
    fun get_bank_subbranch(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<selectbankbean>>

    /**
     *  收益上面数值
     *
     */
    @POST("index.php/mobile/index/get_goodsClass_list")
    @FormUrlEncoded
    fun getProject(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<ProjectBean>>>

    /**
     *  月商户交易量
     *
     */
    @POST("index.php/mobile/Statistics/get_merchant_trading_month")
    @FormUrlEncoded
    fun get_merchant_trading_month(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MerchantTrading>>


    /**
     *  月渠道交易量
     *
     */
    @POST("index.php/mobile/Statistics/get_channel_trading_month")
    @FormUrlEncoded
    fun get_channel_trading_month(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<ChannelTrading>>


    /**
     *  月渠道交易量
     *
     */
    @POST("index.php/mobile/index/get_kfu_info")
    @FormUrlEncoded
    fun get_kfu_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<KeFuInfo>>


    /**
     *  货款管理
     *
     */
    @POST("index.php/mobile/transfer_bill/get_tBill_list")
    @FormUrlEncoded
    fun get_tBill_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<LoanInfoBean>>>

    /**
     *  货款管理
     *
     */
    @POST("index.php/mobile/index/get_goodsClass_list")
    @FormUrlEncoded
    fun get_goodsClass_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<ProjectBean>>>


    /**
     *  货款管理
     *
     */
    @POST("index.php/mobile/transfer_bill/get_mb_list")
    @FormUrlEncoded
    fun get_mb_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<DaiLiBean>>>

    /**
     *  货款详细
     *
     */
    @POST("index.php/mobile/transfer_bill/get_tBill_detail")
    @FormUrlEncoded
    fun get_tBill_detail(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<HuoKuanBean>>


    /**
     *  结算明细
     *
     */
    @POST("index.php/mobile/transfer_bill/get_tBill_settle_info")
    @FormUrlEncoded
    fun get_tBill_settle_info(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<SettleInfo>>


    /**
     *  结算明细
     *
     */
    @POST("index.php/mobile/transfer_bill/get_tBill_detail_list")
    @FormUrlEncoded
    fun get_tBill_detail_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<BillDetailBean>>>


    /**
     *  结算明细
     *
     */
    @POST("index.php/mobile/Agentfreeze/freeze")
    @FormUrlEncoded
    fun freeze(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  获取冻结记录列表
     *
     */
    @POST("index.php/mobile/Agentfreeze/get_freeze_list")
    @FormUrlEncoded
    fun get_freeze_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<FreezeMyBean>>

    /**
     *  冻结明细
     *
     */
    @POST("index.php/mobile/Agentfreeze/get_freeze_detail")
    @FormUrlEncoded
    fun get_freeze_detail(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<FreezeMyDetailBean>>


    /**
     *  取消冻结
     *
     */
    @POST("index.php/mobile/Agentfreeze/freeze_cancel")
    @FormUrlEncoded
    fun freeze_cancel(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  获取商户权限
     *
     */
    @POST("index.php/mobile/Mystock/getSettingMerchantRole")
    @FormUrlEncoded
    fun getSettingMerchantRole(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<MerchantRole>>

    /**
     *  获取商户权限
     *
     */
    @POST("index.php/mobile/Mystock/setMerchantRole")
    @FormUrlEncoded
    fun setMerchantRole(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>

    /**
     *  获取商户权限
     *
     */
    @POST("index.php/mobile/transfer_bill/bill_refund")
    @FormUrlEncoded
    fun bill_refund(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<Any>>


    /**
     *  台均统计
     *
     */
    @POST("index.php/mobile/Statistics/sn_average")
    @FormUrlEncoded
    fun sn_average(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<SnAverageBean>>


    /**
     *  冻结人员列表
     *
     */
    @POST("index.php/mobile/Mystock/get_freezeMb_list")
    @FormUrlEncoded
    fun get_freezeMb_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<DaiLiBean>>>

    /**
     *  权限代理商列表
     *
     */
    @POST("index.php/mobile/mystock/get_agent_list")
    @FormUrlEncoded
    fun get_agent_list(@FieldMap map: MutableMap<String, String>): Observable<HttpResult<List<DaiLiBean>>>
}